﻿using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model
{


    public class CodeManage_GenCodeBatch
    {
		   public CodeManage_GenCodeBatch() { }
        /// <summary>
        ///  
        /// </summary>
        [Property("Key")]
        public int? Id { get; set; }

        /// <summary>
        ///  机构编号
        /// </summary>
        public int? EnterpriseId { get; set; }

        /// <summary>
        ///  产品编号
        /// </summary>
        public int? ProductId { get; set; }

        /// <summary>
        ///  批次
        /// </summary>
        public string Batch { get; set; }

        /// <summary>
        ///  是否起用1表示是0表示否
        /// </summary>
        public int? ViewFlag { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public int? Sequence { get; set; }

   
        /// <summary>
        ///  
        /// </summary>
        public int? ChangeLoginID { get; set; }

        /// <summary>
        ///  最后更新时间
        /// </summary>
        public string ChangeLoginName { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public System.DateTime ChangeDate { get; set; }

        /// <summary>
        ///  产品批次编号
        /// </summary>
        public int ProductBatchId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
		  [NotMapped]
		public int ViewDel { get; set; }
          [NotMapped]
          public int TypeID { get; set; }
        /// <summary>
        /// 生码数量
        /// </summary>
        [NotMapped]
        public int Gen_Code_Nums { get; set; }

        /// <summary>
        /// 批次名显示  批次加段号
        /// </summary>
        [NotMapped]
        public int BatchName { get; set; }
      

    }



}











